-- GENERATED SPELL FOR [Geness Half-Soul] --


function spell0_31193(pUnit, Event) --@Brutal Fist,n/a--
pUnit:FullCastSpellOnTarget(61041,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31193', 649, 1)
end

function spell1_31193(pUnit, Event) --@Snap Kick,n/a--
pUnit:FullCastSpellOnTarget(46182,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31193', 2258, 1)
end

function Sorts_31193(pUnit, Event)
local choix_sorts_31193 = math.random(0, 1)
if choix_sorts_31193 == 0 then
pUnit:RegisterEvent('spell0_31193', 1, 1)
end
if choix_sorts_31193 == 1 then
pUnit:RegisterEvent('spell1_31193', 1, 1)
end
end

function mob31193_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31193', math.random(1500, 3000), 1)
end

function mob31193_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31193_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31193_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31193, 1, 'mob31193_Action')
RegisterUnitEvent(31193, 2, 'mob31193_Leave')
RegisterUnitEvent(31193, 3, 'mob31193_Kill')
RegisterUnitEvent(31193, 4, 'mob31193_Die')
